package club.hicode.daydayup.single;

/**
 * 测试
 *
 * @author Liu Chunfu
 * @date 2018-06-13 下午5:23
 **/
public class SingleTon2 {

    private static SinglePerson instance;

    static {
        instance = new SinglePerson();
        System.out.println("静态代码块！");
    }


    public static SinglePerson singlePerson() {
        return instance;
    }
}
